//
//  cellOfColOfMid.m
//  mintHome
//
//  Created by 朱彦名 on 16/6/23.
//  Copyright © 2016年 朱彦名. All rights reserved.
//

#import "cellOfColOfMid.h"

@interface cellOfColOfMid()



@end

@implementation cellOfColOfMid

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self creatOfCell];
       // self.backgroundColor = [UIColor yellowColor];
        
    }
    return self;
    

}
- (void)creatOfCell{
    //image
    self.imageOfMid = [[UIImageView alloc]init];
    [self.contentView addSubview:self.imageOfMid];
    
    
    
    //label
    _label1 = [[UILabel alloc]init];
    //_label1.backgroundColor = [UIColor blueColor];
    [self.contentView addSubview:_label1];

}
- (void)layoutSubviews{
    
    [super layoutSubviews];
    
    self.imageOfMid.frame = CGRectMake(0, 0, 80, 80);
    //self.imageOfMid.backgroundColor = [UIColor purpleColor];
    self.imageOfMid.layer.cornerRadius = 40;
    
    self.label1.frame = CGRectMake(10, 90, 60, 30);
    
    
}
@end
